import Mock from 'mockjs'

var Random=Mock.Random
Random.extend({
	 video:function(res){
		 var constella=[
			 'http://video.699pic.com/videos/22/16/91/a_wd4MdgFb5a3y1560221691_10s.mp4',
			'http://video.699pic.com/videos/95/80/57/a_FGHCHDpYA4rg1559958057_10s.mp4',
			 'http://video.699pic.com/videos/84/91/34/xMJG7kNUSW2n1529849134_10s.mp4',
			
			
		 ]
		 return this.pick(constella)
	 }
})


var video=Mock.mock({
	'video|3':[{
		video:'@video'
	}]
})

Mock.mock('http://jx.xuzhixiang.top/ap/api/add-product.php',video)